import api from '@/assets/axios/index.js'

// 登录接口
export function loginApi(form) {
    return api.post('/system/login', form);
}

// 获取验证码
export function getCaptchaApi() {
    return api.get("/system/captcha?" + new Date().getTime(), {
        responseType: "arraybuffer"
    });
}

